# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Diogo Ferreira <diogo@underdev.org>

pkgname=cloc
pkgver=1.98
pkgrel=1
pkgdesc="Count lines of code"
arch=('any')
url="https://github.com/AlDanial/cloc"
license=('GPL')
depends=('perl' 'perl-algorithm-diff' 'perl-regexp-common'
         'perl-parallel-forkmanager')
source=(https://github.com/AlDanial/cloc/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('5fe0b159eb75718df7308a4f61470eaddf82170733929999e37a3fbb4651cf8a')

package() {
  cd $pkgname-$pkgver/Unix
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
